From 953112f91f2257db4f7cd8c5d6cc1be28c50af79 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Wed, 20 Apr 2011 20:11:11 +0100 Subject: [PATCH] Adding allow-none introspection annotation for GtkInitFunc parameters --- gtk/gtkmodules.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkmodules.h b/gtk/gtkmodules.h index 3c97854f76..b0f9a509ac 100644 --- a/gtk/gtkmodules.h +++ b/gtk/gtkmodules.h @@ -32,8 +32,8 @@ G_BEGIN_DECLS /** * GtkModuleInitFunc: - * @argc: GTK+ always passes %NULL for this argument - * @argv: (array length=argc): GTK+ always passes %NULL for this argument + * @argc: (allow-none): GTK+ always passes %NULL for this argument + * @argv: (allow-none) (array length=argc): GTK+ always passes %NULL for this argument * * Each GTK+ module must have a function gtk_module_init() * with this prototype. This function is called after loading -- 2.30.2